Sequential Execution. Programs start by executing the first statement and continue by executing statements in sequence.
The idea of sequential execution is this:
First Task: ____________ Second Task: ____________ Third Task: ____________
To achieve a goal, three tasks must be performed, in order. Each task might be done with several (or very many) statements.
The flowchart shows the idea of sequential execution of tasks. Each box represents a task. The tasks could be large or small, depending on the level of detail that the flowchart shows.
Here is the example program, again:
LET MILES = 200 <—— executed first LET GALLONS = 10 <—— executed second PRINT MILES / GALLONS, "Miles per Gallon" <—— executed third END
(Mentally) fill in the blanks in the diagram with the statements from the example program.
First Task: ____________ Second Task: ____________ Third Task: ____________